package com.lovo.common.model;

import java.time.LocalDate;

/**
 * 员工模型对象
 * @author 白德柯
 *
 */
public class EmpBean {
    private int id;
    /** 部门id */
    private int deptId;
    /** 部门名称 */
    private String deptName;
    /** 职位id */
    private int workId;
    /** 职位名称 */
    private String workName;
    /** 员工姓名 */
    private String name;
    /** 性别 */
    private String gender;
    /** 登录名 */
    private String loginName;
    /** 密码 */
    private String pwd;
    /** 文化程度 */
    private String education;
    /** 出生日期 */
    private LocalDate born;
    /** 联系电话 */
    private String phone;
    /** 所属专业 */
    private String subject;
    /** 政治面貌 */
    private String political;
    /** 家庭地址 */
    private String addr;
    /** 入职时间 */
    private LocalDate joinDate;
    /** 头像地址 */
    private String face;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public int getWorkId() {
        return workId;
    }

    public void setWorkId(int workId) {
        this.workId = workId;
    }

    public String getWorkName() {
        return workName;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public LocalDate getBorn() {
        return born;
    }

    public void setBorn(LocalDate born) {
        this.born = born;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getPolitical() {
        return political;
    }

    public void setPolitical(String political) {
        this.political = political;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public LocalDate getJoinDate() {
        return joinDate;
    }

    public void setJoinDate(LocalDate joinDate) {
        this.joinDate = joinDate;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }

    @Override
    public String toString() {
        return "EmpBean{" +
                "id=" + id +
                ", deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", workId=" + workId +
                ", workName='" + workName + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", loginName='" + loginName + '\'' +
                ", pwd='" + pwd + '\'' +
                ", education='" + education + '\'' +
                ", born=" + born +
                ", phone='" + phone + '\'' +
                ", subject='" + subject + '\'' +
                ", political='" + political + '\'' +
                ", addr='" + addr + '\'' +
                ", joinDate=" + joinDate +
                ", face='" + face + '\'' +
                '}';
    }
}
